package com.tax.common.util;

import com.tax.common.constant.CommonConstant;

public class StringsUtil {

    /**
     * 验证码登录key
     * @param loginId
     * @return
     */
    public static String getUserValidcodeLoginKey(String loginId) {
        return CommonConstant.USER_ACCESS_TOKEN_KEY + CommonConstant.USER_ACCESS_TOKEN_TYPE_VALIDCODE +  ":" + loginId;

    }

    /**
     * 密码登录key
     * @param loginId
     * @return
     */
    public static String getUserPasswordLoginKey(String loginId) {
        return CommonConstant.USER_ACCESS_TOKEN_KEY + CommonConstant.USER_ACCESS_TOKEN_TYPE_PASSWORD + ":" +loginId;

    }
}
